projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
54e1617
)
* keymap.c.c (Fdefine_key): Use ptrdiff_t, not int.
author
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 27 Sep 2011 16:00:55 +0000
(09:00 -0700)
committer
Paul Eggert
<eggert@cs.ucla.edu>
Tue, 27 Sep 2011 16:00:55 +0000
(09:00 -0700)
src/keymap.c
patch
|
blob
|
history
diff --git
a/src/keymap.c
b/src/keymap.c
index 03e4688eaad02f0118b154125656afc254125649..6287f6a4a44898efa37f2c355611b522e2295f4c 100644
(file)
--- a/
src/keymap.c
+++ b/
src/keymap.c
@@
-1143,7
+1143,7
@@
binding KEY to DEF is added at the front of KEYMAP. */)
if (VECTORP (def) && ASIZE (def) > 0 && CONSP (AREF (def, 0)))
{ /* DEF is apparently an XEmacs-style keyboard macro. */
Lisp_Object tmp = Fmake_vector (make_number (ASIZE (def)), Qnil);
-
in
t i = ASIZE (def);
+
ptrdiff_
t i = ASIZE (def);
while (--i >= 0)
{
Lisp_Object defi = AREF (def, i);